package cm.study.config.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;

@ToString
@Builder
@Getter
public class SuccessInfo extends Result {
    private static final Integer DEFAULT_CODE=20000;
    private static final String DEFAULT_MESSAGE="操作成功";
    @JsonInclude(JsonInclude.Include.NON_NULL)
    protected Object date;
    protected SuccessInfo(Object date){
        super(true,DEFAULT_CODE,DEFAULT_MESSAGE);
        this.date=date;
    }
}
